
#当空投降落到与标记位置相同时，清空标记位置
execute as @e[type=armor_stand,tag=AirDropSign] at @s if entity @e[type=chest_minecart,tag=AirDrop,distance=0..2] run kill @s


#标记位置特效
execute at @e[type=armor_stand,tag=AirDropSign] run particle minecraft:firework ~ ~0.2 ~ 1 0.2 1 0.02 20

#空投还在天上时缓慢落地
execute as @e[type=chest_minecart,tag=AirDrop] at @s if block ~ ~0.02 ~ #minecraft:air run tp @s ~ ~-0.05 ~
#空投落地后一分半之前特效
execute at @e[type=chest_minecart,tag=AirDrop,scores={skTimeKe=..1800}] unless block ~ ~-0.1 ~ #minecraft:air run particle minecraft:dust 1 0 0 1 ~ ~2.5 ~ 0.2 1 0.2 0.01 5
execute at @e[type=chest_minecart,tag=AirDrop,scores={skTimeKe=..1800}] unless block ~ ~-0.1 ~ #minecraft:air run particle minecraft:dust 1 0 0 0.8 ~ ~6 ~ 0.5 1.5 0.5 0.01 15
execute at @e[type=chest_minecart,tag=AirDrop,scores={skTimeKe=..1800}] unless block ~ ~-0.1 ~ #minecraft:air run particle minecraft:dust 1 0 0 0.6 ~ ~9 ~ 1 2 1 0.01 40



#空投存活3分钟后消失 3*60*20=3600
kill @e[type=chest_minecart,tag=AirDrop,scores={skTimeKe=3600..}] 
